import request from '@/utils/request'

export function fetchHospitalList(query) {
  return request({
    url: '/hospital/getList.json',
    method: 'get',
    params: query
  })
}

export function hospitalBatchOrderList(query) {
  return request({
    url: '/hospitalBatchOrder/getList.json',
    method: 'get',
    params: query
  })
}

export function hospitalBatchOrderRecentList(query) {
  return request({
    url: '/hospitalBatchOrder/getRecentList.json',
    method: 'get',
    params: query
  })
}

export function fetchHospitalBatchOrder(query) {
  return request({
    url: '/hospitalBatchOrder/getByCode.json',
    method: 'get',
    params: query
  })
}

export function fetchHospitalOrderList(query) {
  return request({
    url: '/hospitalOrder/getList.json',
    method: 'get',
    params: query
  })
}
